isarray=true
filename="$0"
filename=${filename##*/}
filename=${filename%.*}
echo ${filename}

inputpath="${filename}.xlsx"
outpath="../config/${filename}.txt"
#生成配置
java -jar ExcelToJson_command.jar ${inputpath} ${isarray} ${outpath}
#上传
git pull origin master
git add ../*
git commit -am "addconfig ${filename}"
git push origin master
